package com.bluefox.modules.system.domain;

import com.bluefox.jpa.model.AbstractAuditModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @ClassName : SysNotice  //类名
 * @Description : //描述
 * @Author : sunfeng
 * @Date: 2020-04-16 23:11  //时间
 */
@Entity
@Getter
@Setter
@Table(name = "sys_notic")
public class SysNotice extends AbstractAuditModel implements Serializable {

    private static final long serialVersionUID = 1L;



    /**
     * 公告标题
     */
    @Column(name = "notice_title", length = 20, nullable = false)
    private String noticeTitle;

    /**
     * 公告类型（1通知 2公告）
     */
    @Column(name = "notice_type", length = 1, nullable = false)
    private String noticeType;

    /**
     * 公告内容
     */
    @Column(name = "notice_content", length = 2000)
    private String noticeContent;

    /**
     * 公告状态（0正常 1关闭）
     */
    @Column(name = "status", length = 1)
    private String status;

}
